package cn.my.android_demo.model;

import java.util.List;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
import io.objectbox.annotation.Transient;

public class LoginResp {
    private Long id;
    /**
     * 成员账号
     */
    private String account;
    private List<ACL> acls;
    /**
     * 授权TOKEN
     */
    private String authToken;
    /**
     * 成员头像
     */
    private String avatar;
    /**
     * 频道列表
     */
    private List<Channel> channel;
    /**
     * 终端分配ID
     */
    private String clientId;
    /**
     * 设备信息
     */
    private String device;
    /**
     * 成员归属组织
     */
    private Ent ent;
    /**
     * 过期时间
     */
    private Long expire;
    /**
     * 成员ID
     */
    private String im;
    /**
     * 成员昵称
     */
    private String nick;
    private List<Ptt> ptt;
    /**
     * 成员状态
     */
    private Long s;
    private String se;

    public String getAccount() {
        return account;
    }

    public void setAccount(String value) {
        this.account = value;
    }

    public List<ACL> getAcls() {
        return acls;
    }

    public void setAcls(List<ACL> value) {
        this.acls = value;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String value) {
        this.authToken = value;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String value) {
        this.avatar = value;
    }

    public List<Channel> getChannel() {
        return channel;
    }

    public void setChannel(List<Channel> value) {
        this.channel = value;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String value) {
        this.clientId = value;
    }

    public Object getDevice() {
        return device;
    }

    public void setDevice(String value) {
        this.device = value;
    }

    public Ent getEnt() {
        return ent;
    }

    public void setEnt(Ent value) {
        this.ent = value;
    }

    public Long getExpire() {
        return expire;
    }

    public void setExpire(Long value) {
        this.expire = value;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long value) {
        this.id = value;
    }

    public String getIm() {
        return im;
    }

    public void setIm(String value) {
        this.im = value;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String value) {
        this.nick = value;
    }

    public List<Ptt> getPtt() {
        return ptt;
    }

    public void setPtt(List<Ptt> value) {
        this.ptt = value;
    }

    public Long getS() {
        return s;
    }

    public void setS(Long value) {
        this.s = value;
    }

    public String getSe() {
        return se;
    }

    public void setSe(String value) {
        this.se = value;
    }

// ACL.java

    public static class ACL {
        private String acl;
        private String topic;

        public String getAcl() {
            return acl;
        }

        public void setAcl(String value) {
            this.acl = value;
        }

        public String getTopic() {
            return topic;
        }

        public void setTopic(String value) {
            this.topic = value;
        }
    }

// Channel.java
    public static class Channel {
        /**
         * 组织ID
         */
        private Long eid;
        /**
         * 频道ID
         */
        private Long id;
        /**
         * 频道名称
         */
        private String name;
        /**
         * 频道成员数量
         */
        private Long num;
        /**
         * 是否是SOS频道
         */
        private Long sos;
        /**
         * 频道类型
         */
        private Long t;

        public Long getEid() {
            return eid;
        }

        public void setEid(Long value) {
            this.eid = value;
        }

        public Long getId() {
            return id;
        }

        public void setId(Long value) {
            this.id = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String value) {
            this.name = value;
        }

        public Long getNum() {
            return num;
        }

        public void setNum(Long value) {
            this.num = value;
        }

        public Long getSos() {
            return sos;
        }

        public void setSos(Long value) {
            this.sos = value;
        }

        public Long getT() {
            return t;
        }

        public void setT(Long value) {
            this.t = value;
        }
    }

// Ent.java

    /**
     * 成员归属组织
     */
    public static class Ent {
        private Long id;
        private Long allTmpCall;
        private Long channelN;
        private String contact;
        private Long createChannel;
        private Long exp;
        private Long forceLocate;
        private Long listenChannel;
        private Long manageChannel;
        private String name;
        private Long pause;
        private String phone;
        private Long recordDay;
        private Long role;
        private String tag;
        private Long userN;

        public Long getAllTmpCall() {
            return allTmpCall;
        }

        public void setAllTmpCall(Long value) {
            this.allTmpCall = value;
        }

        public Long getChannelN() {
            return channelN;
        }

        public void setChannelN(Long value) {
            this.channelN = value;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String value) {
            this.contact = value;
        }

        public Long getCreateChannel() {
            return createChannel;
        }

        public void setCreateChannel(Long value) {
            this.createChannel = value;
        }

        public Long getExp() {
            return exp;
        }

        public void setExp(Long value) {
            this.exp = value;
        }

        public Long getForceLocate() {
            return forceLocate;
        }

        public void setForceLocate(Long value) {
            this.forceLocate = value;
        }

        public Long getId() {
            return id;
        }

        public void setId(Long value) {
            this.id = value;
        }

        public Long getListenChannel() {
            return listenChannel;
        }

        public void setListenChannel(Long value) {
            this.listenChannel = value;
        }

        public Long getManageChannel() {
            return manageChannel;
        }

        public void setManageChannel(Long value) {
            this.manageChannel = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String value) {
            this.name = value;
        }

        public Long getPause() {
            return pause;
        }

        public void setPause(Long value) {
            this.pause = value;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String value) {
            this.phone = value;
        }

        public Long getRecordDay() {
            return recordDay;
        }

        public void setRecordDay(Long value) {
            this.recordDay = value;
        }

        public Long getRole() {
            return role;
        }

        public void setRole(Long value) {
            this.role = value;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String value) {
            this.tag = value;
        }

        public Long getUserN() {
            return userN;
        }

        public void setUserN(Long value) {
            this.userN = value;
        }
    }

    // Ptt.java
    public static class Ptt {
        private Long id;
        private String name;
        private String t;

        public Long getId() {
            return id;
        }

        public void setId(Long value) {
            this.id = value;
        }

        public String getName() {
            return name;
        }

        public void setName(String value) {
            this.name = value;
        }

        public String getT() {
            return t;
        }

        public void setT(String value) {
            this.t = value;
        }
    }
}